home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 23 / AACD 23.iso / AACD / Magazine / YAM / Source / includes / NewReadArgs.h < prev   
Encoding:
C/C++ Source or Header  |  2000-12-15  |  848 b   |  34 lines

  1. /*
  2. **    $VER: newreadargs.h 37.1 (18.6.97)
  3. **
  4. **
  5. **    NewReadArgs structure and protos
  6. **
  7. **    (C) Copyright 1997 Stephan Rupprecht
  8. **        All Rights Reserved
  9. */
  10.  
  11. #ifndef WORKBENCH_WORKBENCH_H
  12. #include <workbench/workbench.h>
  13. #endif
  14.  
  15. #ifndef WORKBENCH_STARTUP_H
  16. #include <workbench/startup.h>
  17. #endif
  18.  
  19. struct NewRDArgs {
  20.     /* you MUST initialize these fields 
  21.        before calling NewReadArgs() !!! */
  22.     STRPTR    Template;    /* ReadArgs template */
  23.     STRPTR    ExtHelp;    /* ExtHelp string or NULL, shell ONLY */
  24.     STRPTR    Window;     /* WB window descriptor, eg. "CON:////Test" */
  25.     LONG   *Parameters;    /* array to store parsed parameters */
  26.     LONG    FileParameter;    /* -1 means none, 0 means all */
  27.     LONG    PrgToolTypesOnly;
  28.     /* private !!! */
  29.     ULONG    reserved[6];    /* keep off */
  30. };
  31.  
  32. void NewFreeArgs(struct NewRDArgs *);
  33. LONG NewReadArgs(struct WBStartup *, struct NewRDArgs *);
  34.